﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: SubscriptionItemsEntity.cs
// 修改时间：2020-9-8 10:40:11
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：SubscriptionItems 的实体类.
	/// </summary>
	[Table("SubscriptionItems")]
	public partial class SubscriptionItemsEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// 订阅项ID(主键)(自增长)
		/// </summary>
		[Column("Id",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? Id
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private System.String _name = string.Empty;
		/// <summary>
		/// 订阅项名称
		/// </summary>
		[Column("Name",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Name
		{
			get {return _name;}
			set {_name = value;}
		}
		
		#endregion
	}
}
